<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Nicolas Richeton &#187; Eclipse</title> <atom:link href="http://blog.richeton.com/feed/?cat=10" rel="self" type="application/rss+xml" /><link>http://blog.richeton.com</link> <description>on Eclipse and Java development</description> <lastBuildDate>Fri, 31 Aug 2012 06:51:27 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.4.2</generator> <item><title>Solve ClassNotFoundExceptions with Maven war projects on Eclipse</title><link>http://blog.richeton.com/2012/08/31/solve-classnotfoundexceptions-with-maven-war-projects-on-eclipse/</link> <comments>http://blog.richeton.com/2012/08/31/solve-classnotfoundexceptions-with-maven-war-projects-on-eclipse/#comments</comments> <pubDate>Fri, 31 Aug 2012 06:51:27 +0000</pubDate> <dc:creator>Nicolas Richeton</dc:creator> <category><![CDATA[Eclipse]]></category> <category><![CDATA[Maven]]></category><guid isPermaLink="false">http://blog.richeton.com/?p=1250</guid> <description><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/eclipse-642.png" width="64" height="37" alt="Eclipse" title="Eclipse" /><br/>When working on Maven web projects with Eclipse, m2e and m2e-wtp, Webapps can sometimes suddenly stop working, raising ClassNotFoundExceptions on every startup. This is because the webapp lib folder is no longer published to the server. Cleaning, Publishing, Closing/opening project, restarting Eclipse, nothing restore this folder and its content. Additionally, a new warning appears in [...]]]></description> <content:encoded><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/eclipse-642.png" width="64" height="37" alt="Eclipse" title="Eclipse" /><br/><p>When working on Maven web projects with Eclipse, m2e and m2e-wtp, Webapps can sometimes suddenly stop working, raising ClassNotFoundExceptions on every startup.</p><p>This is because the webapp lib folder is no longer published to the server. Cleaning, Publishing, Closing/opening project, restarting Eclipse, nothing restore this folder and its content. Additionally, a new warning appears in the problem view :</p><p><code>Classpath entry org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER will not be exported or published</code></p><p>To solve this issue, just open .classpath at the root of the project and add the following attribute to the maven classpath :</p><p><code>&lt;attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/&gt;</code></p><p>Save and publish to the server.</p><p>The webapp should start again.</p><p>Source: Post from Eclipse forums <a href="http://www.eclipse.org/forums/index.php/t/262101/" title="Original post">http://www.eclipse.org/forums/index.php/t/262101/</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.richeton.com/2012/08/31/solve-classnotfoundexceptions-with-maven-war-projects-on-eclipse/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Nebula Gallery widget in production (PosterGenius)</title><link>http://blog.richeton.com/2010/03/09/nebula-gallery-widget-in-production-postegenius/</link> <comments>http://blog.richeton.com/2010/03/09/nebula-gallery-widget-in-production-postegenius/#comments</comments> <pubDate>Tue, 09 Mar 2010 12:00:08 +0000</pubDate> <dc:creator>Nicolas Richeton</dc:creator> <category><![CDATA[Eclipse]]></category> <category><![CDATA[Nebula]]></category><guid isPermaLink="false">http://blog.richeton.com/?p=876</guid> <description><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/eclipse-642.png" width="64" height="37" alt="Eclipse" title="Eclipse" /><br/>Just relaying a &#8216;thank-you&#8217; post from Stavros Kounis on the nebula newsgroup : Hi all Its was back to 2008 when we have decide to rely on nebula gallery widget for our project named &#8220;PosterGenius&#8221;[1][2]. Since then Nebula Gallery widget[3] was havy used in our application. Now PosterGenius is a finalist for the Best RCP [...]]]></description> <content:encoded><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/eclipse-642.png" width="64" height="37" alt="Eclipse" title="Eclipse" /><br/><p>Just relaying a &#8216;thank-you&#8217; post from Stavros Kounis on the nebula newsgroup  :</p><blockquote><p> Hi all</p><p>Its was back to 2008 when we have decide to rely on nebula gallery widget for our project named &#8220;PosterGenius&#8221;[1][2].</p><p>Since then Nebula Gallery widget[3] was havy used in our application. Now PosterGenius is a finalist for the Best RCP Application for the 2010 Eclipse Community Awards.</p><p>I what to share this &#8220;recognition&#8221; of our work with the Nebula Team[4] and say a BIG &#8220;Thank you guys!!&#8221;</p><p>/stavros</p><p>[1] <a href="http://www.postergenius.com/">http://www.postergenius.com/</a><br /> [2] <a href="http://skounis.blogspot.com/2010/03/nebula-gallery-widget-in-production.html">http://skounis.blogspot.com/2010/03/nebula-gallery-widget-in-production.html</a><br /> [3] <a href="http://www.eclipse.org/nebula/widgets/gallery/gallery.php">http://www.eclipse.org/nebula/widgets/gallery/gallery.php</a><br /> [4] <a href="http://www.eclipse.org/nebula/">http://www.eclipse.org/nebula/</a></p></blockquote><p><span id="more-876"></span></p><p><a href="http://blog.richeton.com/wp-content/uploads/2007/04/pg-gallery-1.png"><img src="http://blog.richeton.com/wp-content/uploads/2007/04/pg-gallery-1-300x182.png" alt="" title="pg-gallery-1" width="300" height="182" class="aligncenter size-medium wp-image-866" /></a></p><p>It&#8217;s nice to see the Gallery widget being used in more RCP applications. This kind of feedback shows that Gallery is ready to be used in production applications, even if it is still labeled as &#8216;beta&#8217; because of some missing features, like <a href="http://www.eclipse.org/forums/index.php?t=msg&#038;th=163808&#038;start=0&#038;">accessibility</a> and <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=224692">full JFace</a> support (Feel free to help <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ).</p><p><a href="http://blog.richeton.com/wp-content/uploads/2007/04/pg-gallery-2.png"><img src="http://blog.richeton.com/wp-content/uploads/2007/04/pg-gallery-2-300x182.png" alt="" title="pg-gallery-2" width="300" height="182" class="aligncenter size-medium wp-image-867" /></a></p><p>Thanks Stavros for using Nebula widgets <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br /> I&#8217;ve updated my <a href="http://blog.richeton.com/nebula-gallery-widget-screenshots/">Nebula Gallery page</a> with screenshots and links.</p> ]]></content:encoded> <wfw:commentRss>http://blog.richeton.com/2010/03/09/nebula-gallery-widget-in-production-postegenius/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>CollabNet merge client</title><link>http://blog.richeton.com/2009/08/12/collabnet-merge-client/</link> <comments>http://blog.richeton.com/2009/08/12/collabnet-merge-client/#comments</comments> <pubDate>Wed, 12 Aug 2009 21:59:11 +0000</pubDate> <dc:creator>Nicolas Richeton</dc:creator> <category><![CDATA[Eclipse]]></category><guid isPermaLink="false">http://blog.richeton.com/?p=739</guid> <description><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/eclipse-642.png" width="64" height="37" alt="Eclipse" title="Eclipse" /><br/>The CollabNet team has made a fantastic work with the new merge client in Subclipse 1.6.x. I was used to the previous merge dialog and I was surprised how merging with SVN can be easy with a good wizard. Let&#8217;s take a look at these screenshots : Select merge operation Select branch to reintegrate Pre-merge [...]]]></description> <content:encoded><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/eclipse-642.png" width="64" height="37" alt="Eclipse" title="Eclipse" /><br/><p>The <a href="http://www.collab.net/">CollabNet</a> team has made a fantastic work with the new merge client in <a href="http://subclipse.tigris.org/">Subclipse</a> 1.6.x. I was used to the previous merge dialog and I was surprised how merging with SVN can be easy with a good wizard.</p><p>Let&#8217;s take a look at these screenshots :</p><p><strong>Select merge operation</strong></p><p><a href="http://blog.richeton.com/wp-content/uploads/2009/08/merge1.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/08/merge1-254x300.png" alt="Merge wizard 1" title="Merge wizard 1" width="254" height="300" class="aligncenter size-medium wp-image-741" /></a></p><p><strong>Select branch to reintegrate</strong></p><p><a href="http://blog.richeton.com/wp-content/uploads/2009/08/merge2-2.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/08/merge2-2-253x300.png" alt="Merge wizard 2" title="Merge wizard 2" width="253" height="300" class="aligncenter size-medium wp-image-746" /></a></p><p><strong>Pre-merge checks</strong></p><p>No screenshot here but if there is something wrong in the current working copy, the wizard warns you and provides quick fixes.</p><p><strong>Merge options</strong></p><p><a href="http://blog.richeton.com/wp-content/uploads/2009/08/merge3.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/08/merge3-250x300.png" alt="Merge wizard 3" title="Merge wizard 3" width="250" height="300" class="aligncenter size-medium wp-image-743" /></a></p><p><strong>Results</strong></p><p><a href="http://blog.richeton.com/wp-content/uploads/2009/08/merge4.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/08/merge4-260x300.png" alt="Merge wizard 4" title="Merge wizard 4" width="260" height="300" class="aligncenter size-medium wp-image-744" /></a></p><p><strong>Merge graph</strong></p><p>The branch and merge history can be shown in the history graph. We can see the previous merge on this test project.</p><p><a href="http://blog.richeton.com/wp-content/uploads/2009/08/merge-graph21.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/08/merge-graph21-300x109.png" alt="Merge graph" title="Merge graph" width="300" height="109" class="aligncenter size-medium wp-image-747" /></a></p><p>Great work guys <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://blog.richeton.com/2009/08/12/collabnet-merge-client/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Collaboration between ShareMedia and Remus Information Management</title><link>http://blog.richeton.com/2009/08/11/collaboration-between-sharemedia-and-remus-information-management/</link> <comments>http://blog.richeton.com/2009/08/11/collaboration-between-sharemedia-and-remus-information-management/#comments</comments> <pubDate>Tue, 11 Aug 2009 11:00:34 +0000</pubDate> <dc:creator>Nicolas Richeton</dc:creator> <category><![CDATA[Eclipse]]></category> <category><![CDATA[RCP]]></category> <category><![CDATA[Sharemedia]]></category><guid isPermaLink="false">http://blog.richeton.com/?p=666</guid> <description><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/sharemedia_logo-64.png" width="64" height="40" alt="Sharemedia" title="Sharemedia" /><br/>ShareMedia and Remus information Management are two open source RCP applications which have similar features : ShareMedia is a multi-platform photo manager. It supports several repositories such as local computer, Jabber, Picasa web or Flickr. RIM is a free OpenSource client application for the management of information with a connection to multitude of data repositories [...]]]></description> <content:encoded><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/sharemedia_logo-64.png" width="64" height="40" alt="Sharemedia" title="Sharemedia" /><br/><p><a href="http://blog.richeton.com/sharemedia/">ShareMedia</a> and <a href="http://remus-software.org/">Remus information Management</a> are two open source RCP applications which have similar features :</p><blockquote><p><a href="http://blog.richeton.com/sharemedia/">ShareMedia</a> is a multi-platform photo manager. It supports several repositories such as local computer, Jabber, Picasa web or Flickr.</p></blockquote><blockquote><p><a href="http://remus-software.org/">RIM</a> is a free OpenSource client application for the management of information with a connection to multitude of data repositories like Flickr, Youtube or Facebook and a desktop-integration for an optimal usage for the offline management, visualization and easy accessibility of information to the user.</p></blockquote><p>A few weeks ago, <a href="http://www.richclient2.eu/">Tom Seidel</a> and I decided to work on Eclipse bundles that will be shared between the two projects in order to speed up development and improve reusability of our code.</p><p>Our first goal is to define a common API which will be used by both applications and to port the existing image viewers from ShareMedia to this new API. ShareMedia has two full screen viewers including an OpenGL based one, inspired from CoverFlow from iTunes (see screencast bellow @0:55).</p><p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/FI42mInV9LY"></param> <embed src="http://www.youtube.com/v/FI42mInV9LY" type="application/x-shockwave-flash" width="425" height="350"></embed></object></p><p>While these bundles are mainly targeted to ShareMedia and RIM,<strong> they can also be used in the Eclipse IDE and in any RCP application.</strong></p><p>We now have a first implementation of the viewer API and two basic viewers. A few features are still missing and there is no background image loading so the IU may freeze a few seconds while loading large images, but it is working.</p><p>The following explains how to install the viewers in Eclipse and in an RCP application.</p><p><strong>Installing the demo viewer into Eclipse : </strong></p><p>The viewer has a dependency on Nebula Gallery which is not yet packaged into the feature. So you have to install the gallery widget from its update site :</p><p><code>http://download.eclipse.org/technology/nebula/gallery/update-N/ </code></p><p>then install the demo viewer from ShareMedia / RIM update site :</p><p><code>http://smedia-rim.sourceforge.net/update/site.xml</code><br /> <strong><br /> Testing the viewer : </strong></p><p>Select one or several image files in the package viewer / navigator view, open the context menu and select View in full screen&#8230;</p><p><a href="http://blog.richeton.com/wp-content/uploads/2009/07/viewer-fullscreen.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/07/viewer-fullscreen-244x300.png" alt="viewer-fullscreen" title="viewer-fullscreen" width="244" height="300" class="aligncenter size-medium wp-image-669" /></a></p><p>Your monitors will fade to black and the first file will be displayed on your primary monitor. Commands are : <strong>ESC</strong> &#8211; Return to Eclipse , <strong>SPACE</strong> &#8211; Next image.</p><p><a href="http://lh5.ggpht.com/_BOHI8sIc-rE/Sn3JxLSDpqI/AAAAAAAACOA/fjEcEAhxp1Y/s800/viewer-1.jpg"><img alt="" src="http://lh5.ggpht.com/_BOHI8sIc-rE/Sn3JxLSDpqI/AAAAAAAACOA/fjEcEAhxp1Y/s288/viewer-1.jpg" title="Viewer - main monitor" class="aligncenter" width="288" height="230" /></a></p><p>Multi-monitor setups are supported. Your secondary monitor will let you select the image to display on the primary monitor using a gallery of all items from your selection.</p><p><a href="http://lh5.ggpht.com/_BOHI8sIc-rE/Sn3JxDb30EI/AAAAAAAACOE/KIaVUWj18_0/s800/viewer-2.jpg"><img alt="" src="http://lh5.ggpht.com/_BOHI8sIc-rE/Sn3JxDb30EI/AAAAAAAACOE/KIaVUWj18_0/s288/viewer-2.jpg" title="Viewer - secondary monitor" class="aligncenter" width="288" height="230" /></a></p><p><strong>How to add a viewer to your application :</strong></p><p>First, you will have to add the following bundles to your application</p><ul><li><code>org.sharemediarim.api</code> : the base API plugin, always required</li><li><code>org.sharemediarim.simple</code> : the basic viewers. These are the only viewers available right now, just wait <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></li><li><code>org.sharemediarim.viewers.adapter.file</code> : the adapter for IFile objects. Only if you want do show eclipse resources (IFile) in the viewer.</li><li><code>org.apache.sanselan</code> : dependency of <code>o.s.v.adapter.file</code>, used to read image thumbnails.</li><li><code>org.sharemedia.rim.viewers</code> : Eclipse integration. Adds full screen action for IFile items in the context menu.</li></ul><p>If you didn&#8217;t use the Eclipse integration, you can open the viewer from your code (usually in an action) :</p><p>1  &#8211; Create a viewer : a viewer can display images, but not necessary in full screen. It can also be hosted in a view :</p><p><code> IViewer viewer= new SampleViewer();</code></p><p>2 &#8211; Create a full screen viewer from the previous viewer. You can also provide additional viewers which will be displayed on secondary monitors.</p><p><code>final GenericFullScreenViewer fullScreenViewer = new GenericFullScreenViewer(new SampleViewer());</code></p><p>3 &#8211; Set the viewer&#8217;s input. Objects within the selection must implement IAdaptable and have an adapter to Image or IAdvancedImage. We provide a default Adapter for IFile in <strong>org.sharemediarim.viewers.adapter.file</strong>.</p><p><code>fullScreenViewer.setInput(structuredSelection);</code></p><p>4 &#8211; Register a listener to dispose the viewer on close. You can also reuse the viewer every time, and dispose it only on exit.</p><p><code>fullScreenViewer.addCloseListener(new Listener() {<br /> public void handleEvent(Event event) {<br /> viewer.dispose();<br /> }});<br /> </code></p><p>5 &#8211; Finally, open the viewer :</p><p><code> fullScreenViewer.open();</code></p><p><strong>Get involved : </strong></p><p>If you are interested by using these viewers in your application or by creating new implementations, don&#8217;t hesitate to get in touch with us and help improve this API and viewers.</p><p>Project home page : <a href="http://sourceforge.net/projects/smedia-rim/">http://sourceforge.net/projects/smedia-rim/</a></p><p>Issue tracker : <a href="http://www.remus-software.org/jira/browse/SMEDIARIM">http://www.remus-software.org/jira/browse/SMEDIARIM</a></p><p>Forum : <a href="http://sourceforge.net/forum/forum.php?forum_id=977188">http://sourceforge.net/forum/forum.php?forum_id=977188</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.richeton.com/2009/08/11/collaboration-between-sharemedia-and-remus-information-management/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Growl support for Eclipse RCP</title><link>http://blog.richeton.com/2009/07/05/growl-support-for-eclipse-rcp/</link> <comments>http://blog.richeton.com/2009/07/05/growl-support-for-eclipse-rcp/#comments</comments> <pubDate>Sun, 05 Jul 2009 09:02:44 +0000</pubDate> <dc:creator>Nicolas Richeton</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[RCP]]></category><guid isPermaLink="false">http://blog.richeton.com/?p=652</guid> <description><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/apple_logo-641.png" width="64" height="40" alt="Apple" title="Apple" /><br/>On Mac OS X, Growl has become the de facto standard for all notifications. There is an opened bug asking for Growl support in SWT/RCP : Bug 209911 &#8211; [Mac] Support for Growl notifications. The best solution would be to have a standard API for notification with support for notification plug ins (including growl) and [...]]]></description> <content:encoded><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/apple_logo-641.png" width="64" height="40" alt="Apple" title="Apple" /><br/><p>On Mac OS X, <a href="http://growl.info/">Growl</a> has become the de facto standard for all notifications. There is an opened bug asking for Growl support in SWT/RCP : <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=209911">Bug 209911 &#8211; [Mac] Support for Growl notifications</a>.</p><p>The best solution would be to have a standard API for notification with support for notification plug ins (including growl) and this is exactly what is discussed on bug 209911 and on the wiki page for <a href="http://wiki.eclipse.org/Platform_UI/Notifications">Platform UI/Notifications</a>.</p><p>But for those wanting to add Growl support to their applications as soon as possible, I&#8217;ve just attached to bug 209911 a plug-in which can successfully send Growl notifications.</p><div id="attachment_661" class="wp-caption aligncenter" style="width: 303px"><a href="http://blog.richeton.com/wp-content/uploads/2009/07/growl-menu.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/07/growl-menu.png" alt="Growl Action" title="growl-menu" width="293" height="59" class="size-full wp-image-661" /></a><p class="wp-caption-text">Growl Action</p></div><div id="attachment_653" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.richeton.com/wp-content/uploads/2009/07/growl.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/07/growl-300x35.png" alt="Growl Notification from Eclipse" title="growl" width="300" height="35" class="size-medium wp-image-653" /></a><p class="wp-caption-text">Growl Notification from Eclipse</p></div><p>The Growl wrapper depends on Apple&#8217;s Java/cocoa bindings, so the trick was to add external libraries to the plugin classpath :</p><p><code><strong>Bundle-ClassPath</strong>: .,<br /> external:/System/Library/Java</code></p><p>It works, but you should know that :</p><ul><li>Apple Java/Cocoa bindings are deprecated.</li><li>This does not work with Cocoa/x86_64, probably because of the deprecation. There you get the following error :<code>java.lang.UnsatisfiedLinkError: /usr/lib/java/libObjCJava.A.dylib:  no suitable<br /> image found.  Did find:  /usr/lib/java/libObjCJava.A.dylib: no matching<br /> architecture in universal wrapper</code></li></ul><p>Hopefully, the Growl wrapper is a really small class, and it should be rather easy to rewrite it with SWT&#8217;s internal Cocoa packages for someone who knows Cocoa (I don&#8217;t).  If you want to take a look at the wrapper, just download my attachment to <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=209911">Bug 209911</a> and take a look at the class : com.growl.Growl.</p> ]]></content:encoded> <wfw:commentRss>http://blog.richeton.com/2009/07/05/growl-support-for-eclipse-rcp/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Memory analysis with Eclipse 3.5</title><link>http://blog.richeton.com/2009/06/12/memory-analysis-with-eclipse-35/</link> <comments>http://blog.richeton.com/2009/06/12/memory-analysis-with-eclipse-35/#comments</comments> <pubDate>Fri, 12 Jun 2009 11:19:41 +0000</pubDate> <dc:creator>Nicolas Richeton</dc:creator> <category><![CDATA[Eclipse]]></category> <category><![CDATA[Java]]></category><guid isPermaLink="false">http://blog.richeton.com/?p=550</guid> <description><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/eclipse-642.png" width="64" height="37" alt="Eclipse" title="Eclipse" /><br/>Eclipse Galileo (3.5) will be released on June 24, 2009 and comes with a really good and easy-to-use JVM Memory Analyzer. Here is a quick memory analysis walkthrough : Creating a heap dump You can dump the memory of a Java process anytime using jmap which is included in the JDK. To ensure jmap is [...]]]></description> <content:encoded><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/eclipse-642.png" width="64" height="37" alt="Eclipse" title="Eclipse" /><br/><p><a href="http://www.eclipse.org/downloads/packages/release/galileo/rc3">Eclipse Galileo (3.5)</a> will be released  on June 24, 2009 and comes with a really good and easy-to-use JVM <a href="http://www.eclipse.org/mat/">Memory Analyzer.</a></p><div id="attachment_562" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.richeton.com/wp-content/uploads/2009/06/chart.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/06/chart-300x181.png" alt="Memory chart" title="chart" width="300" height="181" class="size-medium wp-image-562" /></a><p class="wp-caption-text">Memory chart</p></div><p>Here is a quick memory analysis walkthrough :</p><p><strong>Creating a heap dump</strong></p><p>You can dump the memory of a Java process anytime using <strong>jmap</strong> which is included in the JDK.</p><p>To ensure jmap is working for you, get your java process ID :<br /> <code>ps -Af | grep java</code></p><p>or, if you want to dump eclipse memory :<br /> <code>ps -Af | grep eclipse</code></p><p>Then ask jmap to output a memory summary :</p><p><code>jmap &lt;pid&gt;</code></p><p>Jmap output :<br /> <code>Attaching to process ID 356, please wait...<br /> Debugger attached successfully.<br /> Client compiler detected.<br /> JVM version is 1.5.0_16-133</p><p>using thread-local object allocation.<br /> Mark Sweep Compact GC</p><p>Heap Configuration:<br /> (...)<br /> </code></p><p>If you get an error, take a look at the end of this post for a few tips.</p><p>Ok so <strong>jmap</strong> works for you. Now dump the complete memory in a file :<br /> <code>jmap -heap:format=b &lt;pid&gt;</code></p><p>There is now a file named <strong>heap.bin</strong> in your current directory.</p><p><strong>Installing Memory Analyzer</strong><br /> Start Eclipse, use Help->Install new software&#8230; and select Memory Analyzer from the Galileo update site :</p><div id="attachment_551" class="wp-caption aligncenter" style="width: 275px"><a href="http://blog.richeton.com/wp-content/uploads/2009/06/memoryanalyzer.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/06/memoryanalyzer-265x300.png" alt="Installing Memory Analyzer" title="memoryanalyzer" width="265" height="300" class="size-medium wp-image-551" /></a><p class="wp-caption-text">Installing Memory Analyzer</p></div><p><strong>Opening the dump</strong></p><p>Switch to Memory Analysis perspective<br /><div id="attachment_558" class="wp-caption aligncenter" style="width: 286px"><a href="http://blog.richeton.com/wp-content/uploads/2009/06/perspectives.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/06/perspectives-276x300.png" alt="Perspectives : select Memory Analysis" title="perspectives" width="276" height="300" class="size-medium wp-image-558" /></a><p class="wp-caption-text">Perspectives : select Memory Analysis</p></div><br /> Use File->Open Head Dump&#8230; and select <strong>heap.bin</strong><br /><div id="attachment_560" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.richeton.com/wp-content/uploads/2009/06/memoryanalysis.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/06/memoryanalysis-300x240.png" alt="Memory summary" title="memoryanalysis" width="300" height="240" class="size-medium wp-image-560" /></a><p class="wp-caption-text">Memory summary</p></div></p><p>You can now digg into your application heap memory and ensure that no objects is using more memory than it should. Memory Analyzer also includes really nice features like an automatic leak search :</p><div id="attachment_564" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.richeton.com/wp-content/uploads/2009/06/leaksuspects.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/06/leaksuspects-300x232.png" alt="Leak suspects report" title="leaksuspects" width="300" height="232" class="size-medium wp-image-564" /></a><p class="wp-caption-text">Leak suspects report</p></div><p>Have fun and catch the leaks <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p><p><strong>jmap tips</strong><br /> If you have problems running jmap, try the following tips :</p><ul><li>Be sure to <strong>use the jmap binary packaged with the JVM you are running</strong> : jmap from a Java 5 JDK will not be able to dump memory from a Java 6 VM : you&#8217;ll get this stacktrace :<p><code>Attaching to process ID 704, please wait...<br /> Exception in thread "main" java.lang.RuntimeException: gHotSpotVMTypes was not initialized properly in the remote process; can not continue<br /> at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:111)<br /> at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:68)<br /> at sun.jvm.hotspot.MacOSXTypeDataBase.<init>(MacOSXTypeDataBase.java:35)<br /> at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:560)<br /> at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:481)<br /> at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:319)<br /> at sun.jvm.hotspot.tools.Tool.start(Tool.java:146)<br /> at sun.jvm.hotspot.tools.JMap.main(JMap.java:128)<br /> </code></p></li><li>jmap needs high system privileges. If you can&#8217;t attach to a java process with the following error :<p><code>Attaching to process ID 704, please wait...<br /> attach: task_for_pid(704) failed (5)<br /> Error attaching to process: Error attaching to process, or no such process<br /> </code></p><p>&#8230;, try to use <strong>sudo</strong> : sudo jmap &lt;pid&gt;</code>. (See <a href="http://kensipe.blogspot.com/2008/08/fixing-java-memory-tools-on-mac-os-x.html">Ken Sipe's blog</a> for additional information)</li></ul> ]]></content:encoded> <wfw:commentRss>http://blog.richeton.com/2009/06/12/memory-analysis-with-eclipse-35/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Eclipse 3.5 RC3 released : Cocoa works great</title><link>http://blog.richeton.com/2009/05/31/eclipse-35-rc3-released-cocoa-works-great/</link> <comments>http://blog.richeton.com/2009/05/31/eclipse-35-rc3-released-cocoa-works-great/#comments</comments> <pubDate>Sun, 31 May 2009 13:27:24 +0000</pubDate> <dc:creator>Nicolas Richeton</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Eclipse]]></category> <category><![CDATA[Nebula]]></category> <category><![CDATA[Sharemedia]]></category><guid isPermaLink="false">http://blog.richeton.com/?p=493</guid> <description><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/sharemedia_logo-64.png" width="64" height="40" alt="Sharemedia" title="Sharemedia" /><br/>Eclipse 3.5 RC3 is out and this release fixes the last issues (Bugs 277539 and 277437) I was seeing when running the best test suite I have, ShareMedia, on the previous 3.5 RC2 Cocoa x86_64 SWT port. Now everything is working, even the most tricky parts such as custom widgets, Open GL with LWJGL and [...]]]></description> <content:encoded><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/sharemedia_logo-64.png" width="64" height="40" alt="Sharemedia" title="Sharemedia" /><br/><p><strong>Eclipse 3.5 RC3</strong> is <a href="http://download.eclipse.org/eclipse/downloads/drops/S-3.5RC3-200905282000/index.php">out</a> and this release fixes the last issues (Bugs <del datetime="2009-05-30T22:00:20+00:00"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=277539">277539</a></del> and <del datetime="2009-05-30T22:00:20+00:00"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=277437">277437</a></del>) I was seeing when running the best test suite I have, <a href="http://blog.richeton.com/sharemedia/">ShareMedia</a>, on the previous 3.5 RC2 <strong>Cocoa x86_64</strong> SWT port.</p><p>Now everything is working, even the most tricky parts such as custom widgets, Open GL with LWJGL and  animations&#8230;. <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p><div id="attachment_494" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.richeton.com/wp-content/uploads/2009/05/sharemedia-cocoa-x86_64.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/05/sharemedia-cocoa-x86_64-300x165.png" alt="ShareMedia running on SWT 3.5 Cocoa x86_64" title="sharemedia-cocoa-x86_64" width="300" height="165" class="size-medium wp-image-494" /></a><p class="wp-caption-text">ShareMedia running on SWT 3.5 Cocoa x86_64</p></div><p>The new 3.5 release also brings some long-waited features on Mac OS X :</p><p><strong>- Java 6 and 64 bits support</strong></p><p><strong>- Shell modified hint</strong></p><div id="attachment_506" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.richeton.com/wp-content/uploads/2009/05/modified.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/05/modified-300x156.png" alt="Shell modified hint" title="Shell modified hint" width="300" height="156" class="size-medium wp-image-506" /></a><p class="wp-caption-text">Shell modified hint</p></div><p><strong>- Shell sheet style</strong></p><div id="attachment_504" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.richeton.com/wp-content/uploads/2009/05/sheet.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/05/sheet-300x296.png" alt="Shell sheet style" title="Shell sheet style" width="300" height="296" class="size-medium wp-image-504" /></a><p class="wp-caption-text">Shell sheet style</p></div><p><strong>- Program icons are now returned in full size !!!!</strong> <code>Program.findProgram("jpg").getImageData()</code> returns beautiful 512&#215;512 icons instead of 16&#215;16, see the following <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.nebula/org.eclipse.swt.nebula.snippets/src/org/eclipse/swt/nebula/snippets/gallery/SnippetSimple.java?root=Technology_Project&#038;view=co">gallery widget snippet</a> :</p><div id="attachment_520" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.richeton.com/wp-content/uploads/2009/05/image-6.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/05/image-6-300x140.png" alt="Gallery Snippet on SWT 3.4" title="Gallery Snippet on SWT 3.4" width="300" height="140" class="size-medium wp-image-520" /></a><p class="wp-caption-text">Gallery Snippet on SWT 3.4</p></div><div id="attachment_519" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.richeton.com/wp-content/uploads/2009/05/image-2.png"><img src="http://blog.richeton.com/wp-content/uploads/2009/05/image-2-300x174.png" alt="Gallery Snippet on SWT 3.5" title="Gallery Snippet on SWT 3.5" width="300" height="174" class="size-medium wp-image-519" /></a><p class="wp-caption-text">Gallery Snippet on SWT 3.5</p></div><p><strong>UPDATE:</strong> Oh no ! this is a cocoa bug, images should still be returned in 16&#215;16. SWT committers, please don&#8217;t fix it ! <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> I hope this will help fixing <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=181723">bug 181723</a>.</p><p>These improvements make Eclipse 3.5 an absolute must for all Mac users.</p><p>The only thing I&#8217;m still missing is the Native OSX toolbar (<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=222859">bug 222859</a>)</p><p>I would like to thanks all developpers who worked very hard to create this great Cocoa port in only one year and those who keep hacking to improving Eclipse UI on Mac.</p> ]]></content:encoded> <wfw:commentRss>http://blog.richeton.com/2009/05/31/eclipse-35-rc3-released-cocoa-works-great/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Nebula project news</title><link>http://blog.richeton.com/2009/04/26/nebula-project-news/</link> <comments>http://blog.richeton.com/2009/04/26/nebula-project-news/#comments</comments> <pubDate>Sun, 26 Apr 2009 21:04:37 +0000</pubDate> <dc:creator>Nicolas Richeton</dc:creator> <category><![CDATA[Eclipse]]></category> <category><![CDATA[Gallery Widget]]></category> <category><![CDATA[Nebula]]></category><guid isPermaLink="false">http://nricheton.homeip.net/?p=343</guid> <description><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/gallery_logo-64.png" width="64" height="40" alt="Gallery Widget" title="Gallery Widget" /><br/>Nebula is a rather active Eclipse project even if it is maintained mostly by individuals (see Nebula statistics on Ohloh). It can also be very silent . If you&#8217;re not following the cvs commit log, the dev mailing list or open bugs, it can be hard to notice what is going on. Here are the [...]]]></description> <content:encoded><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/gallery_logo-64.png" width="64" height="40" alt="Gallery Widget" title="Gallery Widget" /><br/><p><a href="http://www.eclipse.org/nebula/">Nebula</a> is a rather active Eclipse project even if it is maintained mostly by individuals (see <a href="https://www.ohloh.net/p/5650">Nebula statistics on Ohloh</a>). It can also be very silent <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . If you&#8217;re not following the cvs commit log, the dev mailing list or open bugs, it can be hard to notice what is going on.</p><p>Here are the latest news :</p><ul><li><strong>Nebula is not only an incubator for SWT</strong> : the current Nebula mission statement can sound like the Nebula widgets are unstable, otherwise they would have moved to SWT :<br /><blockquote><p>The Nebula project is a source for custom SWT widgets and other UI components. Nebula is also an incubator for SWT. Some Nebula widgets will graduate into SWT and therefore into the main Eclipse Platform.</p></blockquote><p>The reality is different :<br /> &#8211; several Nebula widget were developped for real world applications and were contributed once completed in order to share the code base with the Eclipse community.</p><p> &#8211; Additionnal stable widgets are currently being contributed from other Eclipse projects.</p><p> &#8211; The graduation is unlikely to happen, for several *good* reasons like toolkit size and dedication to native widgets even if it contains a few custom ones.</p><p><a href="http://tom-eclipse-dev.blogspot.com/">Tom Schindl</a>, Nebula co-lead with Chris Gross, <a href="http://dev.eclipse.org/mhonarc/lists/nebula-dev/msg00773.html">pointed this problem out in a recent mail</a> to the dev list and according to the number of &#8220;+1&#8243; he got, the statement is likely to be changed very soon.</p><p>On the stable/unstable topic, an idea (as discussed previously on the dev list) was to provide more visibility by grouping the widgets by status (stable/alpha/dormant) and to do releases of stable ones as soon as possible.</li><li><strong>Nightly builds</strong> : The binary downloads have been removed from the Nebula website for some time now. The reason was simple : the build process was down and all downloads were several months old. They were also not conforming to the incubation status so we simply removed them.<p>Nightly builds are now back on the <a href="http://www.eclipse.org/nebula/downloads.php">download page</a>. The build process is using althena (cbi) on build.eclipse.org and can run unit tests. As a result, <a href="http://download.eclipse.org/technology/nebula/gallery/downloads/drops/latest/testresults/html/org.eclipse.nebula.widgets.gallery.tests_linux.gtk.html">junit tests results</a> are also available alongside of the binaries.</p><p><center><a href="http://nricheton.homeip.net/wp-content/uploads/2009/04/nebula_downloads.png"><img src="http://nricheton.homeip.net/wp-content/uploads/2009/04/nebula_downloads.png" alt="" title="nebula_downloads" width="300" height="226" class="alignnone size-medium wp-image-359" /></a></center></p><p>Note : we haven&#8217;t finished setting up the build process for every widget yet, more downloads will be added soon. Progress can be monitored on <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=237588">bug 237588</a>.</p><p>Our next move is to build on <a href="https://build.eclipse.org/hudson/">hudson</a>.</li><li><strong>Nebula Examples</strong> : <a href="http://www.eclipse.org/nebula/examples.php">The example project page</a> has been restored.<p><center><a href="http://www.eclipse.org/nebula/examples.php"><img src="http://nricheton.homeip.net/wp-content/uploads/2009/04/example_grid_small.png" alt="Nebula Example" title="example_grid_small" width="300" height="187" class="size-medium wp-image-350" /></a></center></p><p>This project is also built nightly and can be <a href="http://www.eclipse.org/nebula/downloads.php">downloaded</a> as binary or simply installed from the update site.</p><p>An official webstart version will be available as soon as I can host it on eclipse.org. (Eclipse webmaster please comment <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=270617">bug 270617</a> <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). In the meantime, you can try <a href="http://nricheton.homeip.net/public/nebula/nebula.jnlp">this webstart</a> (hosted here on my blog, don&#8217;t kill my bandwidth ! )</li><li><strong>Gallery widget stable version</strong> : I&#8217;ve published a <strong>stable</strong> (not nightly) version of the Gallery widget : <strong>0.5.2_R_0_20090418</strong>.<p><center><a href="http://nricheton.homeip.net/wp-content/uploads/2009/04/nebula_gallery.png"><img src="http://nricheton.homeip.net/wp-content/uploads/2009/04/nebula_gallery.png" alt="" title="nebula_gallery" width="300" height="202" class="alignnone size-medium wp-image-363" /></a></center></p><p> Even if the project itself is still in incubation, this version of the Gallery widget is stable enough to be used in RCP application or plugins. Be sure to read the <a href="http://www.eclipse.org/nebula/widgets/gallery/releasenotes/r_0_20090418/releasenotes.php">release notes</a> page which points out stable/unstable features and the explaination of the incubation phase (<a href="http://wiki.eclipse.org/Development_Resources/Process_Guidelines/What_is_Incubation">What is Incubation</a>) on Eclipse.org.</p><p>With that version, a <a href="http://www.eclipse.org/nebula/widgets/gallery/javadoc/r_0_20090418/index.html">javadoc</a> is available.</p><p>Don&#8217;t forget to report bugs if any !</li></ul><p>That&#8217;s all for today, I hope to have more news to blog about soon <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p> ]]></content:encoded> <wfw:commentRss>http://blog.richeton.com/2009/04/26/nebula-project-news/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Increasing content assist windows size in Eclipse on Linux</title><link>http://blog.richeton.com/2009/04/08/increasing-content-assist-windows-size-on-linux/</link> <comments>http://blog.richeton.com/2009/04/08/increasing-content-assist-windows-size-on-linux/#comments</comments> <pubDate>Wed, 08 Apr 2009 10:52:26 +0000</pubDate> <dc:creator>Nicolas Richeton</dc:creator> <category><![CDATA[Eclipse]]></category><guid isPermaLink="false">http://nricheton.homeip.net/?p=330</guid> <description><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/eclipse-642.png" width="64" height="37" alt="Eclipse" title="Eclipse" /><br/>This is a tip for all Eclipse users on Linux : When using content assist (Ctrl-Space), you sometime have to get your hands on the mouse to use the scrollbars in order to read the full package name of a class or to scroll the content of the javadoc to the interesting part. On both [...]]]></description> <content:encoded><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/eclipse-642.png" width="64" height="37" alt="Eclipse" title="Eclipse" /><br/><p>This is a tip for all Eclipse users on Linux :</p><p>When using <strong>content assist</strong> (Ctrl-Space), you sometime have to get your hands on the mouse to use the scrollbars in order to read the full package name of a class or to scroll the content of the javadoc to the interesting part.</p><p>On both Windows or OSX, you can simply resize the content assist window and the new size will then be used the everytime you trigger content proposal.</p><p><strong>But on Linux, you cannot resize this window</strong>. This is caused by <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=23980">bug 23980</a>. While this bug is hard to solve, there is a simple workaround for this specific issue.</p><p>Edit<br /> <code>${workspace_location}/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml</code></p><p>&#8230;and change content assist size in the <strong>completion_proposal_size</strong> section</p><p><code><br /> &lt;section name="completion_proposal_size"&gt;<br /> &lt;item value="800" key="size.x"/&gt;<br /> &lt;item value="300" key="size.y"/&gt;<br /> &lt;/section&gt;<br /> </code></p><p>Restart Eclipse and enjoy content assist at full size.</p><p>(I helped <a href="http://philippeoliveira.free.fr/index.php?2009/04/07/9-augmenter-la-taille-de-la-fenetre-de-completion-sur-eclipse-linux">Philippe</a> to find the right file. He published a<a href="http://philippeoliveira.free.fr/index.php?2009/04/07/9-augmenter-la-taille-de-la-fenetre-de-completion-sur-eclipse-linux"> french version on this tip</a> and I took care of the international one. <img src='http://blog.richeton.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p> ]]></content:encoded> <wfw:commentRss>http://blog.richeton.com/2009/04/08/increasing-content-assist-windows-size-on-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Nebula Gallery example updated</title><link>http://blog.richeton.com/2009/04/02/nebula-gallery-example-updated/</link> <comments>http://blog.richeton.com/2009/04/02/nebula-gallery-example-updated/#comments</comments> <pubDate>Thu, 02 Apr 2009 12:20:21 +0000</pubDate> <dc:creator>Nicolas Richeton</dc:creator> <category><![CDATA[Eclipse]]></category> <category><![CDATA[Gallery Widget]]></category> <category><![CDATA[Nebula]]></category><guid isPermaLink="false">http://nricheton.homeip.net/?p=314</guid> <description><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/gallery_logo-64.png" width="64" height="40" alt="Gallery Widget" title="Gallery Widget" /><br/>I&#8217;ve just fixed bug 268743 &#8211; Gallery example need update to show latest features. As a result, you can now play with all Gallery features within the Nebula example application. Being able to combine all options freely let me spot some problems with untested usecases : 270736 : Group selection selects the last item of [...]]]></description> <content:encoded><![CDATA[<img src="http://blog.richeton.com/wp-content/uploads/2008/05/gallery_logo-64.png" width="64" height="40" alt="Gallery Widget" title="Gallery Widget" /><br/><p>I&#8217;ve just fixed <del datetime="2009-04-02T11:55:54+00:00"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=268743">bug 268743 &#8211;  Gallery example need update to show latest features</a></del>. As a result, you can now play with all Gallery features within the Nebula example application.</p><p><a href="http://picasaweb.google.com/lh/photo/em3AMFxa2LdaQ2J2nmpzmg?feat=embedwebsite"><img src="http://lh4.ggpht.com/_BOHI8sIc-rE/SdScY-cIUUI/AAAAAAAAB2Q/sinkcM80hqw/s288/nebula_example.png" /></a></p><p>Being able to combine all options freely let me spot some problems with untested usecases :</p><p><del datetime="2009-04-02T11:55:54+00:00"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=270736">270736 : Group selection selects the last item of the group if not using SWT.MULTI</a></del></p><p><del datetime="2009-04-02T11:55:54+00:00"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=270737">270737 : Margin issues with animation</a></del></p><p><del datetime="2009-04-02T11:55:54+00:00"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=270934">270934 : Decorators : Wrong position for bottom left et top right decorators</a></del></p><p><del datetime="2009-04-02T11:55:54+00:00"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=266614">266614 :Item selection background can be visible on closed group when animations turned on</a></del></p><p>I fixed these 4 items while I was at it.</p><p>You can download this example from the nebula CVS. It works both as a view or as a stand alone application.</p><p>You can also test it from <a href="http://nricheton.homeip.net/public/nebula/nebula.jnlp">webstart</a>. (Windows only, I&#8217;m still fighting with some issues with java web start on Linux and MacOS &#8211; bugs 270421, 270617, 270948, 270949, 270950).</p><p><strong>update : webstart now works on linux</strong></p><p>Next on my todo list :<br /> - get nebula nighlty builds running for all widgets (almost done)<br /> - host the webstart on eclipse<br /> - add an example tab for nebula animation package.</p> ]]></content:encoded> <wfw:commentRss>http://blog.richeton.com/2009/04/02/nebula-gallery-example-updated/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 25/34 queries in 0.013 seconds using apc
Object Caching 1476/1476 objects using apc

Served from: blog.richeton.com @ 2012-10-02 11:36:52 -->